---
import {
  faHackerNews,
  faReddit,
  faThreads,
  faXTwitter
} from "@fortawesome/free-brands-svg-icons";
import Testimonial from "./Testimonial.astro";
---

<section id="testimonials" class="py-20 bg-secondary/20">
  <div class="container">
    <div class="text-center mb-16">
      <h2 class="text-3xl md:text-4xl font-bold mb-4">
        What our community says
      </h2>
      <p class="text-muted-foreground text-lg max-w-2xl mx-auto">
        Don't take our word for it &mdash; hear from the system administrators
        and developers who use Ferron every day.
      </p>
    </div>
    <div class="columns-1 md:columns-2 lg:columns-3 gap-8">
      <Testimonial
        sourceIcon={faHackerNews}
        sourceLink="https://news.ycombinator.com/item?id=43228545"
        name="Yo'av Moshe"
        description="Co-founder of Zaraz, acquired by Cloudflare"
        testimonial="I suspect that people don't like changing web servers, and perhaps that's why it took the industry so long to move away from Apache. Ferron actually looks great — great performance, automatic TLS, easy reverse proxy configuration and more. Congrats on shipping this!"
      />
      <Testimonial
        sourceIcon={faHackerNews}
        sourceLink="https://news.ycombinator.com/item?id=43236478"
        name="Matthew Holt"
        description="Author of the Caddy web server"
        testimonial="Awesome :) Best of luck with the project!"
      />
      <Testimonial
        sourceIcon={faXTwitter}
        sourceLink="https://x.com/LukasHozda/status/1904134313056080113"
        name="Lukáš Hozda"
        testimonial="Replacing Sōzu with @ferron_web because the madlad actually went out of his way to do a benchmark when I asked"
      />
      <Testimonial
        sourceIcon={faThreads}
        sourceLink="https://www.threads.net/@buddy_spencer/post/DH-lv3mNQ2j"
        name="Andreas Wachter"
        testimonial="I just switched to @ferronweb on my pi to serve services at home. Imho ferron is just way easier to configure than anything else."
      />
      <Testimonial
        sourceIcon={faReddit}
        sourceLink="https://www.reddit.com/r/rust/comments/1o8ckkk/comment/njy4mac/"
        name="Michael Murphy"
        description="Engineer at System76 and Pop!_OS maintainer"
        testimonial="You may want to check out what Ferron is doing. I've been using it for a few months. Highly recommend. (...) Significantly easier to set up than nginx, and by far the most effortless auto TLS integration. (...) Highly recommend using the v2 docker images though. It now uses KDL for configuration, which is much cleaner than YAML. The syntax is versatile enough that you can create a custom DSL of sorts. Ferron uses it to replicate if statements, and uses them to filter access by IP or headers."
      />
      <Testimonial
        sourceIcon={faHackerNews}
        sourceLink="https://news.ycombinator.com/item?id=45653763"
        name="Thomas Walther"
        description="Founded and sold an AI startup to Spotify"
        testimonial="just tried it for serving a fastapi. It's fantastic. Instant TLS via Let's Encrypt. There may be other webservers that are equally easy, but this one is certainly easier than Apache or ngninx, which I used so far. Love it."
      />
    </div>
  </div>
</section>
